package com.yjs.app.trade.entity.base;

/**
 * 常量
 * 
 * @author Administrator
 *
 */
public class BusinessConstant {
	
	/**
	 * 买方、卖方、配送方、联合体会员
	 * 
	 * @author Administrator
	 *
	 */
	public class Number{
		
		/**
		 * 药品订单
		 */
		public static final String DRAGORDER = "10001";
		/**
		 * 机械订单
		 */
		public static final String APPARORDER = "10003";
		/**
		 * 药品合同
		 */
		public static final String DRAGCONTRACT = "100761";
		/**
		 * 机械合同
		 */
		public static final String APPARCONTRACT = "100831";
	}
	
	/**
	 * 会员类型
	 * 
	 * @author Administrator
	 *
	 */
	public class MemberType{
		
		/**
		 * 买方会员
		 */
		public static final int BUYERMEMBER = 1;
		
		/**
		 * 卖方会员
		 */
		public static final int SELLERMEMBER = 2;
		
		/**
		 * 配送方会员
		 */
		public static final int DISPATCHERMEMBER = 3;
		
		/**
		 * 联合体会员
		 */
		public static final int UNIONMEMBER = 4;
		
		/**
		 * 监管方会员
		 */
		public static final int SUPERVISIONMEMBER = 5;
		
		public static final String BUYER = "BUYER";
		
		public static final String SELLER = "SELLER";
		
		public static final String DISPATCH = "DISPATCH";
		
		public static final String SUPERVISION = "SUPERVISION";
	}
	
	/**
	 * 反馈分类
	 * 
	 * @author Administrator
	 *
	 */
	public class FeedBackType{
		
		/**
		 * 产品建议
		 */
		public static final int PRODUCTFEED = 1;
		/**
		 * 业务建议
		 */
		public static final int BUSINESSFEED = 2;
		/**
		 * 操作问题
		 */
		public static final int OPRATIONFEED = 3;
		/**
		 * 其他
		 */
		public static final int OTHERFEED = 4;
	}
	
	/**
	 * 合同状态
	 * 
	 * @author Administrator
	 *
	 */
	public class ContractStatus{
		
		/**
		 * 新建
		 */
		public static final int NEW = 1;
		/**
		 * 待响应
		 */
		public static final int PENDING = 2;
		/**
		 * 已响应
		 *//*
		public static final int RESPONSE = 3;*/
		/**
		 * 生效
		 */
		public static final int VALID = 4;
		/**
		 * 延续
		 */
		public static final int CONTINUE = 5;
		/**
		 * 解除中
		 */
		public static final int RESCISSION = 6;
		/**
		 * 失效
		 */
		public static final int INVALID = 7;
	}
	
	/**
	 * 订单状态
	 * 
	 * @author Administrator
	 *
	 */
	public class OrderDetailStatus{
		
		/**
		 * 待发送
		 */
		public static final int TOBESENT = 0;
		/**
		 * 待响应
		 */
		public static final int PENDING = 1;
		/**
		 * 待出库
		 */
		public static final int BEOUTSTORAGE = 2;
		/**
		 * 部分收货
		 */
		public static final int PARTIALRECEIPT = 4;
		/**
		 * 全部收货
		 */
		public static final int FULLRECEIPT = 5;
		/**
		 * 失效
		 */
		public static final int INVALID = 7;
		/**
		 * 部分出库
		 */
		public static final int PARTOUTTREASURY = 8;
		/**
		 * 全部出库
		 */
		public static final int FULLOUTTREASURY = 9;
	}
}
